﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="SamengesteldeArtikelsDataSet" targetNamespace="http://tempuri.org/SamengesteldeArtikelsDataSet.xsd" xmlns:mstns="http://tempuri.org/SamengesteldeArtikelsDataSet.xsd" xmlns="http://tempuri.org/SamengesteldeArtikelsDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="fairshopConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="fairshopConnectionString1 (MySettings)" PropertyReference="ApplicationSettings.FairShop.My.MySettings.GlobalReference.Default.fairshopConnectionString1" Provider="System.Data.OleDb" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SamengesteldeArtikelsTableAdapter" GeneratorDataComponentClassName="SamengesteldeArtikelsTableAdapter" Name="SamengesteldeArtikels" UserDataComponentName="SamengesteldeArtikelsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="fairshopConnectionString1 (MySettings)" DbObjectName="SamengesteldeArtikels" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM `SamengesteldeArtikels` WHERE ((`Id` = ?) AND ((? = 1 AND `ArtikelId` IS NULL) OR (`ArtikelId` = ?)) AND ((? = 1 AND `DeelArtikelId` IS NULL) OR (`DeelArtikelId` = ?)) AND ((? = 1 AND `Aantal` IS NULL) OR (`Aantal` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ArtikelId" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ArtikelId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ArtikelId" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ArtikelId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_DeelArtikelId" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="DeelArtikelId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_DeelArtikelId" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="DeelArtikelId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Aantal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Aantal" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Aantal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Aantal" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `SamengesteldeArtikels` (`ArtikelId`, `DeelArtikelId`, `Aantal`) VALUES (?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="ArtikelId" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ArtikelId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="DeelArtikelId" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="DeelArtikelId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Aantal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Aantal" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Id, ArtikelId, DeelArtikelId, Aantal FROM SamengesteldeArtikels</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE       SamengesteldeArtikels
SET                ArtikelId = ?, DeelArtikelId = ?, Aantal = ?
WHERE        (Id = ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Param1" ColumnName="ArtikelId" DataSourceName="SamengesteldeArtikels" DataTypeServer="DbType.Int32" DbType="Int32" Direction="Input" ParameterName="ArtikelId" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ArtikelId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Param2" ColumnName="DeelArtikelId" DataSourceName="SamengesteldeArtikels" DataTypeServer="DbType.Int32" DbType="Int32" Direction="Input" ParameterName="DeelArtikelId" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="DeelArtikelId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Param3" ColumnName="Aantal" DataSourceName="SamengesteldeArtikels" DataTypeServer="DbType.Int32" DbType="Int32" Direction="Input" ParameterName="Aantal" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Aantal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Param5" ColumnName="Id" DataSourceName="SamengesteldeArtikels" DataTypeServer="DbType.Int32" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="ArtikelId" DataSetColumn="ArtikelId" />
              <Mapping SourceColumn="DeelArtikelId" DataSetColumn="DeelArtikelId" />
              <Mapping SourceColumn="Aantal" DataSetColumn="Aantal" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="SamengesteldeArtikelsDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="SamengesteldeArtikelsDataSet" msprop:Generator_DataSetName="SamengesteldeArtikelsDataSet" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="SamengesteldeArtikels" msprop:Generator_UserTableName="SamengesteldeArtikels" msprop:Generator_RowDeletedName="SamengesteldeArtikelsRowDeleted" msprop:Generator_RowChangedName="SamengesteldeArtikelsRowChanged" msprop:Generator_RowClassName="SamengesteldeArtikelsRow" msprop:Generator_RowChangingName="SamengesteldeArtikelsRowChanging" msprop:Generator_RowEvArgName="SamengesteldeArtikelsRowChangeEvent" msprop:Generator_RowEvHandlerName="SamengesteldeArtikelsRowChangeEventHandler" msprop:Generator_TableClassName="SamengesteldeArtikelsDataTable" msprop:Generator_TableVarName="tableSamengesteldeArtikels" msprop:Generator_RowDeletingName="SamengesteldeArtikelsRowDeleting" msprop:Generator_TablePropName="SamengesteldeArtikels">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:int" />
              <xs:element name="ArtikelId" msprop:Generator_UserColumnName="ArtikelId" msprop:Generator_ColumnVarNameInTable="columnArtikelId" msprop:Generator_ColumnPropNameInRow="ArtikelId" msprop:Generator_ColumnPropNameInTable="ArtikelIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="DeelArtikelId" msprop:Generator_UserColumnName="DeelArtikelId" msprop:Generator_ColumnVarNameInTable="columnDeelArtikelId" msprop:Generator_ColumnPropNameInRow="DeelArtikelId" msprop:Generator_ColumnPropNameInTable="DeelArtikelIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Aantal" msprop:Generator_UserColumnName="Aantal" msprop:Generator_ColumnVarNameInTable="columnAantal" msprop:Generator_ColumnPropNameInRow="Aantal" msprop:Generator_ColumnPropNameInTable="AantalColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SamengesteldeArtikels" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
  </xs:element>
</xs:schema>